package com.chinacoal.microservice.api.fallback;

import java.util.List;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.TaskExtAttrMapRegisterClient;
import com.chinacoal.microservice.api.model.QueryUtaskCatAttrMapParam;
import com.chinacoal.microservice.api.model.entity.UtaskCatAttrMapEntity;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

@Component
public class TaskExtAttrMapRegisterClientFallback implements TaskExtAttrMapRegisterClient {

	@Override
	public Result<Object> insert(UtaskCatAttrMapEntity utaskCatAttrMapEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> update(UtaskCatAttrMapEntity utaskCatAttrMapEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> delete(String mapId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<UtaskCatAttrMapEntity>> findList(Integer page, Integer pageSize,
			QueryUtaskCatAttrMapParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<UtaskCatAttrMapEntity> findOne(String mapId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<List<UtaskCatAttrMapEntity>> getCatAttrMap(String sysId, String catId, String attrId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
	
}
